home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Visual Database / Visual Foxpro 6.0 (Ent. Edition) / Vf6ent Extractor.EXE / TOOLS / XSOURCE / XSOURCE.ZIP / vfpsource / wizards / Wzpivot / pivot.h < prev    next >
Encoding:
Text File  |  1998-05-01  |  6.3 KB  |  128 lines

  1. * PIVOT WIZARD #INCLUDE file
  2.  
  3. * Help IDs
  4. #DEFINE wizPivotTable_Wizard_Step3    95825422
  5. #DEFINE wizPivotTable_Wizard_Step2    95825421
  6. #DEFINE wizPivotTable_Wizard_Step1    95825420
  7. #DEFINE wizPivotTable_Wizard        95825419
  8.  
  9. #DEFINE N_HELPCONTEXT_ID            1895825419
  10.  
  11. * Misc Error messages and prompts
  12. #DEFINE        OS_W32S                1
  13. #DEFINE        OS_NT                2
  14. #DEFINE        OS_WIN95            3
  15.  
  16. #DEFINE MAX_RECORDS        500
  17. #DEFINE MAX_PIVROWS        300
  18. #DEFINE MAX_PIVCOLS        100
  19. #DEFINE MAX_PIVPAGES    100
  20. #DEFINE MAX_PIVCELLS    10000
  21.  
  22. #DEFINE        ODBC_FILE             "ODBC.INI"
  23. #DEFINE        ODBC_SOURCE            "ODBC Data Sources"
  24. #DEFINE        ODBC_32SOURCE        "ODBC 32 bit Data Sources"
  25. #DEFINE        ODBC_FTYPE            "filetype"
  26. #DEFINE        ODBC_FOX_DSN        "FoxPro Files"
  27. #DEFINE        ODBC_FOX_FIL        "FoxPro 2.6"
  28. #DEFINE        ODBC_FOX_FIL3        "FoxPro 3.0"
  29. #DEFINE     FOXODBC_25            "FoxPro Files (*.dbf)"
  30. #DEFINE     FOXODBC_26            "Microsoft FoxPro Driver (*.dbf)"
  31. #DEFINE     FOXODBC_26FIX        "Microsoft FoxPro 2.6 Driver (*.dbf)"
  32. #DEFINE     FOXODBC_30            "Visual FoxPro"
  33. #DEFINE     FOXODBC_30a            "Visual FoxPro Database"
  34. #DEFINE     FOXODBC_30b            "Visual FoxPro Tables"
  35. #DEFINE        C_DRIVEID            "DriverID"
  36. #DEFINE        FOX_DRIVEID            24
  37. #DEFINE     ODBC_DATA_KEY        "Software\ODBC\ODBC.INI\"    &&ODBC Registry key
  38. #DEFINE        C_FIL                "FIL"
  39. #DEFINE        C_FOX2                "FoxPro 2.0"
  40. #DEFINE     HKEY_CLASSES_ROOT   -2147483648  && BITSET(0,31)
  41. #DEFINE     HKEY_CURRENT_USER   -2147483647  && BITSET(0,31)+1
  42. #DEFINE     HKEY_LOCAL_MACHINE  -2147483646  && (( HKEY ) 0x80000002 )
  43. #DEFINE     QUERY_ROOT            "Software\Microsoft\Shared Tools\MSQuery"
  44.  
  45. #DEFINE        DBFTYPE_30            48                            && SYS(2029) value for new 30 DBF
  46. #DEFINE        OLE_XLAPP            "excel.application"            
  47.  
  48. #DEFINE     DLLPATH_32S            "\SYSTEM\WIN32S\"
  49. #DEFINE     DLLPATH_NT            "\SYSTEM32\"
  50. #DEFINE     DLLPATH_WIN95        "\SYSTEM\"
  51.  
  52. #DEFINE        DLL_KERNEL_W32S        "W32SCOMB.DLL"
  53. #DEFINE        DLL_KERNEL_NT        "KERNEL32.DLL"
  54. #DEFINE        DLL_KERNEL_WIN95    "KERNEL32.DLL"
  55.  
  56. #DEFINE     ERROR_SUCCESS        0
  57. #DEFINE        ERROR_NOINIFILE        -108    &&no DLL file used to check ODBC
  58. #DEFINE        ERROR_NOINIENTRY    -109    &&no entry found in INI file (section)
  59. #DEFINE        ERROR_FAILINI        -110    &&no entry found in INI file
  60.  
  61. #DEFINE     XL_EXT                "xls"
  62. #DEFINE     XL_CLASS            "Excel.Sheet"
  63. #DEFINE     XLPATH_KEY            "\Shell\Open\Command"
  64.  
  65. #DEFINE        E_NOPIVOTTBL_LOC    "Failed to create PivotTable Object."
  66.  
  67. #DEFINE        ALERTTITLE_LOC        "Microsoft Visual FoxPro Wizards"
  68.  
  69. #DEFINE        E_BADMSQUERY_LOC    "Microsoft Query has not been installed properly and is needed in order to create an Excel pivot table."
  70. #DEFINE        E_ODBCDLL_LOC        "Could not check for proper ODBC installed files."
  71. #DEFINE        E_XLBADSTATE_LOC    "Microsoft Excel is not in the right state to create a pivot table. Make sure that Excel isn't displaying any dialog boxes."
  72. #DEFINE        E_ODBC1_LOC            "Could not check ODBC.INI file. Check to see if ODBC is properly installed."
  73. #DEFINE        E_ODBC2_LOC            "Could not find FoxPro Files ODBC driver. Check to see if it is installed."
  74. #DEFINE        E_ODBC3_LOC            "Invalid FoxPro Files entry in ODBC.INI file."
  75. #DEFINE        E_NODBC_LOC            "The new Visual FoxPro 3.0 .DBF file format is not yet supported by the current ODBC drivers. You must use a FoxPro 2.x .DBF file."
  76. #DEFINE        E_FAILXL_LOC        "Failed to get Excel OLE Object."
  77. #DEFINE     E_NOXLFILE_LOC        "Could not locate Microsoft Excel."
  78. #DEFINE     E_NOPIVTABLE_LOC    "An error occurred in Microsoft Excel during generation of the pivot table."
  79. #DEFINE        E_OLDXLVER_LOC        "The wizard does not support your version of Microsoft Excel. You must have version 5.0 or later installed."
  80. #DEFINE     E_NOREG_LOC            "Microsoft Excel is not properly registered in the Windows registration table for use with OLE."
  81. #DEFINE     E_NOVIEWS_LOC        "Views are not supported by this wizard."
  82. #DEFINE     C_SAVEPROMPT_LOC    "Save form as:"
  83. #DEFINE     C_LOCATEDLL_LOC        "The wizard could not verify that you have ODBC installed. "+;
  84.                                 "Do you want to continue with the assumption that it is?"
  85. #DEFINE     C_LOCATEXL_LOC        "The wizard could not verify that you have Microsoft Excel 5.0 or later installed. "+;
  86.                                 "Do you want to continue with the assumption that it is?"
  87. #DEFINE     C_COPYFOX2_LOC        "You do not have ODBC drivers for Visual FoxPro 3.0 tables/views. "+;
  88.                                 "Would you like to copy the selected table to a FoxPro 2.5 "+;
  89.                                 "format so that a pivot table can be generated from it?"
  90. #DEFINE     C_COPYPROMPT_LOC    "Copy table to:"
  91. #DEFINE     C_LARGEPIVOT_LOC    "You have selected a potentially large pivot table result set. "+;
  92.                                 "Do you want to continue?"
  93. #DEFINE        C_LONGFNAME_LOC        "You have an old FoxPro ODBC Data Source installed which does not support FoxPro tables with long or illegal DOS path and file names. "+;
  94.                                 "We suggest that you install the VFP ODBC Driver to prevent this message in the future. "+;
  95.                                 "If you choose to continue, you must either rename or copy the selected table to one with a standard DOS file name. Would you like to copy the file now?"
  96. #DEFINE        C_ODBCOLDVER_LOC    "The Version setting in your FoxPro Files ODBC Data Source is set for FoxPro 2.0 files. "+;
  97.                                 "The PivotTable Wizard may not properly handle international characters or General fields. "+;
  98.                                 "You can change this setting to FoxPro 2.6 using the ODBC Control Panel."
  99. #DEFINE     C_NORECORDS_LOC        "The table selected contains no records. An Excel pivot table will not be created."
  100. #DEFINE        C_VFPDRVONLY_LOC    "The PivotTable Wizard has detected the presence of the VFP ODBC Driver, however, "+;
  101.                                 "no VFP ODBC Data Source exists. You can create a new VFP ODBC Data Source from the ODBC Control Panel. "+;
  102.                                 "The Wizard will try to use an older ODBC driver this time."
  103.  
  104. ***** Dropdown list selector
  105. #define CRET        CHR(13)
  106. #define STEP1_LOC    "Step 1 - Select Fields"
  107. #define STEP2_LOC    "Step 2 - Define Layout"
  108. #define STEP3_LOC    "Step 3 - Finish"
  109.  
  110. ***** Screen directions
  111. #define DESC1a_LOC    "Which fields do you want in your pivot table?"
  112. #define DESC1c_LOC    "Select a database or Free Tables item, select a table or view, and then select the fields you want."
  113. #define DESC1        DESC1a_LOC+CRET+CRET+DESC1c_LOC
  114.  
  115.  
  116. #define DESC2a_LOC    "How do you want to lay out your pivot table?"
  117. #define DESC2b_LOC    "Drag available fields to the pivot table locations."
  118. #define DESC2        DESC2a_LOC+CRET+CRET+DESC2b_LOC
  119.  
  120. ***** Screen hint button text
  121. #define HINT1_LOC    ""
  122. #define HINT2_LOC    ""
  123. #define HINT3_LOC    ""
  124.  
  125. ***** Screen BMP files
  126. #define BMPFILE1    "opentabl.bmp"
  127. #define BMPFILE2    "pivot2.bmp"
  128.